package com.liuweiheng.cloud.service;

import com.liuweiheng.base.entity.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(value="nacos-provide", fallback = NacosHystrix.class)
public interface NacosService {
    @GetMapping("/helloNacos")
    R helloNacos();
}
